let list = [
    {
        "ironArmyType": "9999",
        "ironArmyName": "全部队伍"
    },
    {
        "ironArmyType": "1001",
        "ironArmyName": "营业员"
    },
    {
        "ironArmyType": "1002",
        "ironArmyName": "智家工程师"
    },
    {
        "ironArmyType": "1003",
        "ironArmyName": "社区经理"
    },
    {
        "ironArmyType": "1004",
        "ironArmyName": "商客经理"
    },
    {
        "ironArmyType": "1005",
        "ironArmyName": "渠道经理"
    },
    {
        "ironArmyType": "1006",
        "ironArmyName": "校园客户经理"
    },
    {
        "ironArmyType": "1007",
        "ironArmyName": "互联网团队"
    },
    {
        "ironArmyType": "1008",
        "ironArmyName": "交付专员"
    }
]

function handlerArr(list){
    let newArr = [{ironArmyType:"1001"},{ironArmyType:"1002"},
        {ironArmyType:"1003"},{ironArmyType:"1005"},{ironArmyType:"1007"}];//newArr
    let newA1=[]

    list.forEach(item => {
        if (newArr.find(i => i.ironArmyType === item.ironArmyType)) {
            newA1.push(item);
        }
    });
    return newA1
}

console.log(handlerArr(list));
